<template>
	<view class="container">
		<web-view :src="url"></web-view>
	</view>
</template>


<script>
	export default {
		onLoad(option) {
			this.url = option.url;
		},
		data() {
			return {
				// 需要展示的网页地址
				url: ""
			};
		}
	};
</script>


<style lang="scss" scoped>
	.container {
		height: 100%;
	}
</style>